package com.hsgene.commit.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author wxf
 * @date 2018/8/23 19:22
 **/
public class CommitInfoDto implements Serializable {

    private String id;
    /**
     * 评论商品id
     */
    private String productId;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 图片(json串)
     */
    private List<String> images;
    /**
     * 是否匿名
     */
    private String isAnonymous;
    /**
     * 买家id
     */
    private String userId;
    /**
     * 评论打分
     */
    private double commitSumScore;
    /**
     * 评论打星
     */
    private double commitStartCount;
    /**
     * 订单id
     */
    private String orderId;

    /**
     * 产品描述
     */
    private double productDescription;
    /**
     * 物流服务
     */
    private double logisticsService;
    /**
     * 服务态度
     */
    private double serviceAttitude;
    /**
     * 结果报告
     */
    private double resultReport;
    /**
     * 评论创建时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createTime = new Date();
    /**
     * 是否删除(逻辑删除)
     */
    private int isDelete;

    public double getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(double productDescription) {
        this.productDescription = productDescription;
    }

    public double getLogisticsService() {
        return logisticsService;
    }

    public void setLogisticsService(double logisticsService) {
        this.logisticsService = logisticsService;
    }

    public double getServiceAttitude() {
        return serviceAttitude;
    }

    public void setServiceAttitude(double serviceAttitude) {
        this.serviceAttitude = serviceAttitude;
    }

    public double getResultReport() {
        return resultReport;
    }

    public void setResultReport(double resultReport) {
        this.resultReport = resultReport;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    public String getIsAnonymous() {
        return isAnonymous;
    }

    public void setIsAnonymous(String isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public double getCommitSumScore() {
        return commitSumScore;
    }

    public void setCommitSumScore(double commitSumScore) {
        this.commitSumScore = commitSumScore;
    }

    public double getCommitStartCount() {
        return commitStartCount;
    }

    public void setCommitStartCount(double commitStartCount) {
        this.commitStartCount = commitStartCount;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }
}
